#ifndef ControlPanel_H
#define ControlPanel_H

#include <QWidget>
#include "ewha.h"

class LampWidget;

namespace Ui {
class ControlPanel;
}

class ControlPanel : public QWidget
{
	Q_OBJECT

public:
	explicit ControlPanel(QWidget *parent = 0);
	~ControlPanel();
	void setLamp(int pos, EColor state);

signals:
	void SignalJustCaptured(const QString &);
	void SignalExitCapture();
	void SignalStandby();
	void SignalReady();

private slots:
	void SlotResetConfig();

private:
	Ui::ControlPanel *ui;
	LampWidget *m_lamp[4];
};

#endif // ControlPanel_H
